package com.vcit.system.domain.grade;

import java.math.BigDecimal;

import com.vcit.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.vcit.common.annotation.Excel;

/**
 * 学生课程成绩对象 t_student_grade
 * 
 * @author dff
 * @date 2025-02-11
 */
public class TStudentGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String studentSno;

    /** 学期id */
    @Excel(name = "学期id")
    private Long termId;

    /** 课程id */
    @Excel(name = "课程id")
    private Long courseId;

    /** 考试成绩 */
    @Excel(name = "考试成绩")
    private BigDecimal examScore;

    /** 缓考成绩 */
    @Excel(name = "缓考成绩")
    private BigDecimal delayedExamScore;

    /** 补考成绩 */
    @Excel(name = "补考成绩")
    private BigDecimal muExamScore;

    /** 清考成绩 */
    @Excel(name = "清考成绩")
    private BigDecimal finalExamScore;

    /** 成绩置换id */
    @Excel(name = "成绩置换id")
    private Long egId;

    /** 创建者id */
    @Excel(name = "创建者id")
    private Long createId;

    /** 修改者id */
    @Excel(name = "修改者id")
    private Long updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentSno(String studentSno)
    {
        this.studentSno = studentSno;
    }

    public String getStudentSno()
    {
        return studentSno;
    }
    public void setTermId(Long termId) 
    {
        this.termId = termId;
    }

    public Long getTermId() 
    {
        return termId;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setExamScore(BigDecimal examScore) 
    {
        this.examScore = examScore;
    }

    public BigDecimal getExamScore() 
    {
        return examScore;
    }
    public void setDelayedExamScore(BigDecimal delayedExamScore) 
    {
        this.delayedExamScore = delayedExamScore;
    }

    public BigDecimal getDelayedExamScore() 
    {
        return delayedExamScore;
    }
    public void setMuExamScore(BigDecimal muExamScore) 
    {
        this.muExamScore = muExamScore;
    }

    public BigDecimal getMuExamScore() 
    {
        return muExamScore;
    }
    public void setFinalExamScore(BigDecimal finalExamScore) 
    {
        this.finalExamScore = finalExamScore;
    }

    public BigDecimal getFinalExamScore() 
    {
        return finalExamScore;
    }
    public void setEgId(Long egId) 
    {
        this.egId = egId;
    }

    public Long getEgId() 
    {
        return egId;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentSno", getStudentSno())
            .append("termId", getTermId())
            .append("courseId", getCourseId())
            .append("examScore", getExamScore())
            .append("delayedExamScore", getDelayedExamScore())
            .append("muExamScore", getMuExamScore())
            .append("finalExamScore", getFinalExamScore())
            .append("egId", getEgId())
            .append("createId", getCreateId())
            .append("updateId", getUpdateId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
